package com.json.domain;

import java.util.List;

public class Teacher {
	
	private String teacherName;
	
	private int teacherAge;
	
	private Course course;
	
	private List<Student> list;

	public String getTeacherName() {
		return teacherName;
	}
	

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	

	public int getTeacherAge() {
		return teacherAge;
	}
	

	public void setTeacherAge(int teacherAge) {
		this.teacherAge = teacherAge;
	}
	

	public Course getCourse() {
		return course;
	}
	

	public void setCourse(Course course) {
		this.course = course;
	}
	

	public List<Student> getList() {
		return list;
	}
	

	public void setList(List<Student> list) {
		this.list = list;
	}


	@Override
	public String toString() {
		return "Teacher [teacherName=" + teacherName + ", teacherAge=" + teacherAge + ", course=" + course + ", list="
				+ list + "]";
	}
	


	
	

}
